/*    */
package com.liang.manage.auth.facade.dto.user;
/*    */
/*    */

import java.io.Serializable;
/*    */ import java.util.List;

/*    */
/*    */ public class UserRoleOrgDTO
        /*    */ implements Serializable
        /*    */ {
    /*    */   private Long userId;
    /*    */   private List<Integer> roleIds;
    /*    */   private Integer orgId;
    /*    */   private static final long serialVersionUID = 1L;

    /*    */
    /*    */
    public Long getUserId()
    /*    */ {
        /* 17 */
        return this.userId;
        /*    */
    }

    /*    */
    /*    */
    public List<Integer> getRoleIds() {
        /* 21 */
        return this.roleIds;
        /*    */
    }

    /*    */
    /*    */
    public Integer getOrgId() {
        /* 25 */
        return this.orgId;
        /*    */
    }

    /*    */
    /*    */
    public void setUserId(Long userId)
    /*    */ {
        /* 12 */
        this.userId = userId;
    }

    /* 12 */
    public void setRoleIds(List<Integer> roleIds) {
        this.roleIds = roleIds;
    }

    /* 12 */
    public void setOrgId(Integer orgId) {
        this.orgId = orgId;
    }

    /* 12 */
    public boolean equals(Object o) {
        if (o == this) return true;
        if (!(o instanceof UserRoleOrgDTO)) return false;
        UserRoleOrgDTO other = (UserRoleOrgDTO) o;
        if (!other.canEqual(this)) return false;
        Object this$userId = getUserId();
        Object other$userId = other.getUserId();
        if (this$userId == null ? other$userId != null : !this$userId.equals(other$userId)) return false;
        Object this$roleIds = getRoleIds();
        Object other$roleIds = other.getRoleIds();
        if (this$roleIds == null ? other$roleIds != null : !this$roleIds.equals(other$roleIds)) return false;
        Object this$orgId = getOrgId();
        Object other$orgId = other.getOrgId();
        return this$orgId == null ? other$orgId == null : this$orgId.equals(other$orgId);
    }

    /* 12 */
    protected boolean canEqual(Object other) {
        return other instanceof UserRoleOrgDTO;
    }

    /* 12 */
    public int hashCode() {
        int PRIME = 59;
        int result = 1;
        Object $userId = getUserId();
        result = result * 59 + ($userId == null ? 43 : $userId.hashCode());
        Object $roleIds = getRoleIds();
        result = result * 59 + ($roleIds == null ? 43 : $roleIds.hashCode());
        Object $orgId = getOrgId();
        result = result * 59 + ($orgId == null ? 43 : $orgId.hashCode());
        return result;
    }

    /* 12 */
    public String toString() {
        return "UserRoleOrgDTO(userId=" + getUserId() + ", roleIds=" + getRoleIds() + ", orgId=" + getOrgId() + ")";
    }
    /*    */
    /*    */
}

/* Location:           C:\maven\maven3.5\maven3.5\repositor\io\github\maliangnansheng\nansheng-common\3.3.4\nansheng-common-3.3.4.jar
 * Qualified Name:     com.liang.manage.auth.facade.dto.user.UserRoleOrgDTO
 * JD-Core Version:    0.6.2
 */